// 导入请求实例

import axios from "./request.js"

export function fetchLogin(returnData) {
    return axios.post('/login',returnData)
}

export function fetchRegister(returnData) {
    return axios.post('/register',returnData)
}

export function upload(formData) {
    return axios.post('/upload',formData)
}
